import React from "react";
import ReactDOM from "react-dom/client";

import { BrowserRouter } from "react-router-dom";

// import App from "./router/01-basic";
// import App from "./router/02-params";
// import App from "./router/03-query";
// import App from "./router/04-nest";
// import App from "./router/05-404";
// import App from "./router/06-navLink";
// import App from "./router/08-redirect";
// import App from "./router/09-navigate";
// import App from "./router/10-auth";
// import App from "./router/11-routes";
// import App from "./lazy/App";
import App from "./router-lazy/App";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  <BrowserRouter>
    <App />
  </BrowserRouter>
);
